package com.dupt.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dupt.common.annotation.Excel;
import com.dupt.common.core.domain.BaseEntity;

/**
 * 组装用料清单对象 dupt_material_list
 * 
 * @author zhuanyu.sun
 * @date 2025-07-05
 */
public class MaterialList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用料清单ID */
    private Long materialListId;

    /** 组装清单ID */
    @Excel(name = "组装清单ID")
    private Long assembleDetialId;

    /** 物料ID */
    @Excel(name = "物料ID")
    private Long materialDetialId;

    /** 数量 */
    @Excel(name = "数量")
    private Long counts;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setMaterialListId(Long materialListId) 
    {
        this.materialListId = materialListId;
    }

    public Long getMaterialListId() 
    {
        return materialListId;
    }

    public void setAssembleDetialId(Long assembleDetialId) 
    {
        this.assembleDetialId = assembleDetialId;
    }

    public Long getAssembleDetialId() 
    {
        return assembleDetialId;
    }

    public void setMaterialDetialId(Long materialDetialId) 
    {
        this.materialDetialId = materialDetialId;
    }

    public Long getMaterialDetialId() 
    {
        return materialDetialId;
    }

    public void setCounts(Long counts) 
    {
        this.counts = counts;
    }

    public Long getCounts() 
    {
        return counts;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialListId", getMaterialListId())
            .append("assembleDetialId", getAssembleDetialId())
            .append("materialDetialId", getMaterialDetialId())
            .append("counts", getCounts())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
